package com.im.app.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class PreForm
{
    private static final long serialVersionUID = 1L;

    //主键
    @TableId(type = IdType.AUTO)
    private Long id;

    private String userId;

    private String name;

    private String avatar;

    private String ip;

    private String kefuId;

    private String deviceId;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    private String value;

}
